package com.agileboot.domain.medicine.query;

import com.agileboot.common.core.page.AbstractPageQuery;
import com.agileboot.domain.medicine.db.Medicine;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MedicineSearchQuery extends AbstractPageQuery<Medicine> {
    //多字段
    List<MedicineField> medicineFields;
    //搜索框
    private String search;
    //搜索数据
    private Integer type;

    @Override
    public QueryWrapper<Medicine> addQueryCondition() {
        return null;
    }
}
